package com.landlords.model;

/**
 * 扑克牌的model
 * 
 * @author samoin
 * @since 2011-5-31
 */
public class Poker {

	// 花色
	private int color;
	// 牌的数字
	private int num;

	public int getColor() {
		return color;
	}

	public void setColor(int color) {
		this.color = color;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public Poker(int color, int num) {
		super();
		this.color = color;
		this.num = num;
	}

	public Poker() {
		super();
	}

	@Override
	public String toString() {
		return "{color:" + this.getColor() + ",num:" + this.getNum() + "}";
	}

}
